package com.fnfn.sdk.api.service.impl;

import java.util.List;

import com.fnfn.sdk.api.dao.SystemLogMapper;
import com.fnfn.sdk.api.entity.SystemLog;
import com.fnfn.sdk.api.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("sysLogService")
public class SysLogServiceImpl implements SysLogService {

    @Autowired
    SystemLogMapper systemLog;

    @Override
    public int save(SystemLog sysLog) {
        return systemLog.save(sysLog);
    }

    public List<SystemLog> query(SystemLog sysLog) {
        return systemLog.query(sysLog);
    }
}
